QT += quick quick sql serialport quickwidgets xml svg multimedia charts quickcontrols2 gui-private opengl gui \
    widgets charts printsupport multimedia axcontainer
CONFIG += c++11 resources_big
include(./src/QXlsx/QXlsx.pri)
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Refer to the documentation for the
# deprecated API to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
        Connect/CpsUdpClient.cpp \
        Connect/DataSerialportClient.cpp \
        Connect/SpeechModuleThread.cpp \
        ConsumableCode/barCodeManager.cpp \
        Experiment/ExpCommonMethod.cpp \
        Experiment/ExperimentTimeXml.cpp \
        MaintenanceAndCorrection.cpp \
        QmlLanguage.cpp \
        StaticProperties.cpp \
        animation/animationParseHEX.cpp \
        animation/animationPublicInterface.cpp \
        animation/animationStateRescue.cpp \
        animation/practiceAnimation/animationController_Practice.cpp \
        animation/practiceAnimation/animationManager_Practice.cpp \
        animation/practiceAnimation/animationState_Practice.cpp \
        animation/purifyAnimation/animationCommObject_purify.cpp \
        animation/purifyAnimation/animationController_Purify.cpp \
        animation/purifyAnimation/animationManager_Purify.cpp \
        animation/purifyAnimation/animationState_Purify.cpp \
        animation/purifyAnimation/treeNode.cpp \
        animation/purifyAnimation/pipeGraph.cpp \
        animation/purifyAnimation/syringeCalculator.cpp \
        animation/shiftingAnimation/animationController_Shifting.cpp \
        animation/shiftingAnimation/animationManager_Shifting.cpp \
        animation/shiftingAnimation/animationState_Shifting.cpp \
        cMock.cpp \
        cTools.cpp \
#        camera/cameraFboItem.cpp \
#        camera/cameraFboRenderer.cpp \
        camera/cameraItem.cpp \
        camera/cameraManager.cpp \
        camera/cameraProvider.cpp \
        camera/connectCameraInterface.cpp \
        camera/hkCameraItem.cpp \
        camera/jfCameraItem.cpp \
        chromatogram/ChromatogramManager.cpp \
        chromatogram/CustomChartCurveInfoObject.cpp \
        chromatogram/CustomFunction.cpp \
        chromatogram/algorithm.cpp \
        chromatogram/chromatogramChart.cpp \
        chromatogram/customChart.cpp \
    documentPrinter.cpp \
        downloadManager.cpp \
        execonfig.cpp \
        inputMethodEventCatch.cpp \
        licenseManager/AES/qaesencryption.cpp \
        licenseManager/crypto.cpp \
        licenseManager/licenseManager.cpp \
        logHelper/debugLog.cpp \
        logHelper/logthread.cpp \
        CommCommand.cpp \
        CommonHelper.cpp \
        Connect/UdpClient.cpp \
        DbHelper.cpp \
        Experiment/ExperimentOperation.cpp \
        Experiment/ExperimentThread.cpp \
        GetMessageInterface.cpp \
        QmlSignal.cpp \
        main.cpp \
    report/excelExporter.cpp \
        report/printerManager.cpp \
        report/reportManager.cpp \
        report/wordExporter.cpp \
        updateExe.cpp

RESOURCES += qml.qrc  Resources.qrc WordTemplate.qrc

INCLUDEPATH += animation/purifyAnimation \
               animation/practiceAnimation \
               animation/shiftingAnimation \
               animation



RC_ICONS = logo.ico
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

TRANSLATIONS = zh_CN.ts en_US.ts

INCLUDEPATH += XCloudSDK-v1.0.0-Windows-x86_64/package_shared/include

HEADERS += \
    Connect/CpsUdpClient.h \
    Connect/DataSerialportClient.h \
    Connect/SpeechModuleThread.h \
    ConsumableCode/barCodeManager.h \
    Experiment/ExpCommonMethod.h \
    Experiment/ExperimentTimeXml.h \
    MaintenanceAndCorrection.h \
    QmlLanguage.h \
    StaticProperties.h \
    animation/animationParseHEX.h \
    animation/animationPublicInterface.h \
    animation/animationStateRescue.h \
    animation/practiceAnimation/animationController_Practice.h \
    animation/practiceAnimation/animationManager_Practice.h \
    animation/practiceAnimation/animationState_Practice.h \
    animation/purifyAnimation/animationCommObject_Purify.h \
    animation/purifyAnimation/animationController_Purify.h \
    animation/purifyAnimation/animationManager_Purify.h \
    animation/purifyAnimation/animationState_Purify.h \
    animation/purifyAnimation/treeNode.h \
    animation/purifyAnimation/pipeGraph.h \
    animation/purifyAnimation/syringeCalculator.h \
    animation/shiftingAnimation/animationController_Shifting.h \
    animation/shiftingAnimation/animationManager_Shifting.h \
    animation/shiftingAnimation/animationState_Shifting.h \
    cMock.h \
    cTools.h \
    camera/CameraManager.h \
#    camera/cameraFboItem.h \
#    camera/cameraFboRenderer.h \
    camera/cameraItem.h \
    camera/cameraProvider.h \
    camera/connectCameraInterface.h \
    camera/hkCameraItem.h \
    camera/jfCameraItem.h \
    chromatogram/ChromatogramManager.h \
    chromatogram/CustomChartCurveInfoObject.h \
    chromatogram/CustomFunction.h \
    chromatogram/algorithm.h \
    chromatogram/chromatogramChart.h \
    chromatogram/customChart.h \
    documentPrinter.h \
    downloadManager.h \
    execonfig.h \
    inputMethodEventCatch.h \
    licenseManager/AES/aesni/aesni-enc-cbc.h \
    licenseManager/AES/aesni/aesni-enc-ecb.h \
    licenseManager/AES/aesni/aesni-key-exp.h \
    licenseManager/AES/aesni/aesni-key-init.h \
    licenseManager/AES/qaesencryption.h \
    licenseManager/crypto.h \
    licenseManager/licenseManager.h \
    logHelper/debugLog.h \
    logHelper/logThread.h\
    CommCommand.h \
    CommonHelper.h \
    Connect/UdpClient.h \
    DbHelper.h \
    Experiment/ExperimentOperation.h \
    Experiment/ExperimentThread.h \
    ExperimentOperation.h \
    GetMessageInterface.h \
    QmlSignal.h\
    report/excelExporter.h \
    report/printerManager.h \
    report/reportManager.h \
    report/wordExporter.h \
    XCloudSDK-v1.0.0-Windows-x86_64/package_shared/include/XBasic/XBaseTypes.h \
    XCloudSDK-v1.0.0-Windows-x86_64/package_shared/include/XBasic/XSDKPublic.h \
    XCloudSDK-v1.0.0-Windows-x86_64/package_shared/include/XCloudSDK/XCloudSDK.h \
    XCloudSDK-v1.0.0-Windows-x86_64/package_shared/include/XNetSDK/XNetSDKDefine.h \
    updateExe.h




LIBS += -L$$PWD/HKCamera/lib/ -lHCCore
LIBS += -L$$PWD/HKCamera/lib/ -lhcnetsdk

LIBS += -L$$PWD/XCloudSDK-v1.0.0-Windows-x86_64/package_shared/lib/x86_64/Release/ -lXCloudSDK

INCLUDEPATH += $$PWD/HKCamera
DEPENDPATH += $$PWD/HKCamera


